package o;

import androidx.fragment.app.Fragment;

public class cjh implements cjn {
    private Class<? extends Fragment> ˎ;

    public cjh(Class<? extends Fragment> cls) {
        this.ˎ = cls;
    }

    public static cjh ॱ(Class<? extends Fragment> cls) {
        return cls == null ? null : new cjh(cls);
    }

    public <T extends Fragment> T ˏ() {
        try {
            return (Fragment) this.ˎ.newInstance();
        } catch (InstantiationException e) {
            ckx.ˎ.ˊ("FragmentStub", "FragmentStub newInstance error: " + e.toString());
        } catch (IllegalAccessException e2) {
            ckx.ˎ.ˊ("FragmentStub", "FragmentStub newInstance error: " + e2.toString());
        }
        return null;
    }

    public Class<? extends Fragment> ˋ() {
        return this.ˎ;
    }
}
